//
//  AboutViewController.m
//  Feel_at_home
//
//  Created by dlios on 15/9/29.
//  Copyright © 2015年 Feel_at_home. All rights reserved.
//

#import "AboutViewController.h"
#import "WidthAndHeight.pch"

@interface AboutViewController ()

@property (nonatomic, retain) UIImageView *imageview;
@property (nonatomic, retain) UILabel *labelTitle;
@property (nonatomic, retain) UILabel *labelName;

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    self.imageview = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Back"]];
    [self.view addSubview:self.imageview];
    self.imageview.frame = CGRectMake(0, 0, VCWIDTH, VCHEIGH - 113 * HEIGH);
    
    UIVisualEffectView *blur = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]];
    blur.frame = self.view.frame;
    [self.imageview addSubview:blur];

    
    self.labelName = [[UILabel alloc] initWithFrame:CGRectMake(20 * WIDTH, 60 * HEIGH, VCWIDTH - 40 * WIDTH, 150 * HEIGH)];
    [self.view addSubview:self.labelName];
    self.labelName.textColor = [UIColor blackColor];
    self.labelName.font = [UIFont systemFontOfSize:17];
    self.labelName.numberOfLines = 0;
    self.labelName.text = self.str2;
    self.labelName.textAlignment = 0;
    
    self.labelTitle = [[UILabel alloc] initWithFrame:CGRectMake(40 * WIDTH, 20 * HEIGH, VCWIDTH, 30 * HEIGH)];
    [self.view addSubview:self.labelTitle];
    self.labelTitle.textColor = [UIColor blackColor];
    self.labelTitle.font = [UIFont systemFontOfSize:22];
    self.labelTitle.numberOfLines = 0;
    self.labelTitle.text = self.str1;
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
